namespace xbuffer
{
    public static class XNumberBuffer
    {
        public static XNumber deserialize(byte[] buffer, ref int offset)
        {
			// raw
			int _raw = intBuffer.deserialize(buffer, ref offset);

			// value
			return new XNumber() {
				raw = _raw,
            };
        }

        public static void serialize(XNumber value, byte[] buffer, ref int offset)
        {
			// raw
			intBuffer.serialize(value.raw, buffer, ref offset);
        }
    }
}
